package com.bfs.service.wallet;

import cfk.pojo.order.WalletQueryReq;
import cfk.pojo.order.WalletQueryResp;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixProperty;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author baohuajie
 * @description: TODO
 * @date 2020/11/1410:01 AM
 */
@FeignClient(name = "cfk-service", contextId = "cfk-service-wallet"/*,fallback = WalletServiceFallback.class*/, configuration = WalletServiceFeignConfig.class)
public interface IWalletServiceCfkClient {

    @RequestMapping(value = "/cfk/wallet/queryWalletByCustId", method = RequestMethod.POST)
    WalletQueryResp queryWalletByCustId(@RequestBody WalletQueryReq req);
}
